<template>
	<view class="container span-top round">
		<h1 class="span-top title">&nbsp;&nbsp;近期活动</h1>
		<div class="content span-top round" v-for="item in 2">
			<div class="date round">
				<h1 class="day">28</h1>
				<h2 class="month">3月</h2>
			</div>
			<div class="details">
				<h3>讲座</h3>
				<p class="more">14:00-16:00</p>
				<p class="more">图书馆</p>
			</div>
		</div>
	</view>
</template>

<script setup>

</script>

<style>
	
.container {
  width: 100%;
  padding: 10px 10px;
  box-sizing: border-box;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.title {
  border-left: 5px solid rgb(30, 66, 159);
  color: rgb(30, 66, 159);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.span-top {
	margin-top: 10px;
}

.round {
	border-radius: 10px;
}


.content {
	display: flex;
	flex-direction: row;
	justify-content: baseline;
	gap: 10%;
	padding-left: 10px;
}

.date {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 70px;
	height: 70px;
	background-color: rgb(225, 239, 254);
}

.month, .day {
	font-size: 18px;
	font-weight: bold;
	color: rgb(42, 110, 199);
}
.month {
	font-size: 12px;
	font-weight: 0;
	color: rgb(60, 166, 249);
}

.more {
	font-size: 13px;
}
</style>